﻿#pragma once
#include <qmainwindow.h>
#include "ui_PrimaryEditor.h"

class PrimaryEditor : public QMainWindow
{
	Q_OBJECT
public:
	PrimaryEditor();
	~PrimaryEditor();
protected:
	void mousePressEvent(QMouseEvent* event) override;
	void mouseReleaseEvent(QMouseEvent* event) override;
	void mouseMoveEvent(QMouseEvent* event) override;
public slots:
	void showFull();
private:
	Ui::PrimaryEditor ui;
	Qt::MouseButton current_btn;
	QPoint current_mouse_point;
};